package com.example.service.impl;

import com.example.domain.UserRole;
import com.example.mapper.UserRoleMapper;
import com.example.service.UserRoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service

public class UserRoleServiceImpl implements UserRoleService {
    @Autowired
    private UserRoleMapper userRoleMapper;
    @Override
    public void addUserAndRole(UserRole userRole) {
        userRoleMapper.addUserAndRole(userRole);
    }
}
